LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := game_logic_static

LOCAL_MODULE_FILENAME := libgame_logic

LOCAL_SRC_FILES := Dorothy/source/const/oPreDefine.cpp \
Dorothy/source/effect/oEffectCache.cpp \
Dorothy/source/effect/oParticleCache.cpp \
\
Dorothy/source/model/oActionInterval.cpp \
Dorothy/source/model/oActionInstant.cpp \
Dorothy/source/model/oAnimationCache.cpp \
Dorothy/source/model/oEase.cpp \
Dorothy/source/model/oFace.cpp \
Dorothy/source/model/oModel.cpp \
Dorothy/source/model/oModelDef.cpp \
Dorothy/source/model/oModelCache.cpp \
Dorothy/source/model/oClipCache.cpp \
\
Dorothy/source/event/oEvent.cpp \
Dorothy/source/event/oEventType.cpp \
Dorothy/source/event/oListener.cpp \
\
Dorothy/source/physics/oWorld.cpp \
Dorothy/source/physics/oBodyDef.cpp \
Dorothy/source/physics/oBody.cpp \
Dorothy/source/physics/oSensor.cpp \
Dorothy/source/physics/oGroup.cpp \
\
Dorothy/source/platform/oAction.cpp \
Dorothy/source/platform/oBullet.cpp \
Dorothy/source/platform/oBulletDef.cpp \
Dorothy/source/platform/oData.cpp \
Dorothy/source/platform/oUnit.cpp \
Dorothy/source/platform/oUnitDef.cpp \
Dorothy/source/platform/oCamera.cpp \
Dorothy/source/platform/oPlatformWorld.cpp \
Dorothy/source/platform/oTypes.cpp \
Dorothy/source/platform/oProperty.cpp \
Dorothy/source/platform/oUnitCache.cpp \
Dorothy/source/platform/oBulletCache.cpp \
\
Dorothy/source/platform/oAI.cpp \
Dorothy/source/platform/oAICache.cpp \
Dorothy/source/platform/oAINode.cpp \
\
Dorothy/source/misc/oContent.cpp \
Dorothy/source/misc/oKeyboard.cpp \
cocos2dx_support/CCLuaEngine.cpp \
cocos2dx_support/Cocos2dxLuaLoader.cpp \
cocos2dx_support/LuaCocos2d.cpp \
cocos2dx_support/tolua_fix.c \
\
AppDelegate.cpp \
oGamePreDefine.cpp \
Actions/oBrickAction.cpp \
Actions/oRoleAction.cpp \
Actions/oSwitchAction.cpp \
Actions/oPokeAction.cpp \
oGameKeyboard.cpp \
oGameAI.cpp \
oGameEvent.cpp \
oGamePreDefine.cpp \
oGameScene.cpp \
oGameTypes.cpp \
oUnitCenter.cpp

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
						   $(LOCAL_PATH)/Dorothy/include

LOCAL_C_INCLUDES := $(LOCAL_PATH) \
                    $(LOCAL_PATH)/Dorothy/include

LOCAL_STATIC_LIBRARIES := png_static_prebuilt
LOCAL_STATIC_LIBRARIES += xml2_static_prebuilt
LOCAL_STATIC_LIBRARIES += jpeg_static_prebuilt
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
                
LOCAL_SHARED_LIBRARIES := cocosdenshion_shared lua_shared box2d_shared 
            
include $(BUILD_STATIC_LIBRARY)

$(call import-module,cocos2dx/platform/third_party/android/modules/libpng)
$(call import-module,cocos2dx/platform/third_party/android/modules/libxml2)
$(call import-module,cocos2dx/platform/third_party/android/modules/libjpeg)
